package com.gzyj.pojo.web.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ZhiPeng.Lin
 * @Description
 * @Date 2024-11-05
 */
@Data
@TableName(value = "blade_dict")
public class BladeDict implements Serializable {

    private static final long serialVersionUID = 5074653694048106003L;

    /**
     * 主键.
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    /**
     * 父主键.
     */
    @ApiModelProperty("父主键")
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 字典码.
     */
    @ApiModelProperty("字典码")
    @TableField(value = "code")
    private String code;

    /**
     * 字典值.
     */
    @ApiModelProperty("字典值")
    @TableField(value = "dict_key")
    private String dictKey;

    /**
     * 字典名称.
     */
    @ApiModelProperty("字典名称")
    @TableField(value = "dict_value")
    private String dictValue;

    /**
     * 排序.
     */
    @ApiModelProperty("排序")
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 字典备注.
     */
    @ApiModelProperty("字典备注")
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否已删除.
     */
    @ApiModelProperty("是否已删除")
    @TableField(value = "is_deleted")
    private Integer isDeleted;

}
